<?php
/**
 * Created by phpstorem.
 * User: yangakw@qq.com
 * Sign: 猥琐发育，别浪
 * Date: 2018/1/7 0007
 * Time: 下午 1:35
 */

namespace app\common;


class Crypt
{
    static function pwd($pwd){
        return md5(md5($pwd));
    }
    static function en($pwd){
        return serialize($pwd);
    }
    static function de($pwd){
        return unserialize($pwd);
    }
}